﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace INSTA_ORM
{
    /// <summary>
    /// This is the elements of a Player
    /// </summary>
    public class Player : DataMapper
    {

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        /// <remarks></remarks>
        public string Name { get;  set; }

        /// <summary>
        /// Gets or sets the surname.
        /// </summary>
        /// <value>The surname.</value>
        /// <remarks></remarks>
        public string Surname { get;  set; }

        /// <summary>
        /// Gets or sets the age.
        /// </summary>
        /// <value>The age.</value>
        /// <remarks></remarks>
        public int Age { get;  set; }

        /// <summary>
        /// Gets or sets the number.
        /// </summary>
        /// <value>The number.</value>
        /// <remarks></remarks>
        public int Number { get;  set; }

        /// <summary>
        /// Gets or sets the position.
        /// </summary>
        /// <value>The position.</value>
        /// <remarks></remarks>
        public string Position { get;  set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="Player"/> class.
        /// </summary>
        /// <remarks></remarks>
        public Player() : base()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Player"/> class.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <remarks></remarks>
        public Player(int id): base(id)
        { 
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Player"/> class.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <param name="_name">The _name.</param>
        /// <param name="_surname">The _surname.</param>
        /// <param name="_age">The _age.</param>
        /// <param name="_number">The _number.</param>
        /// <param name="_position">The _position.</param>
        /// <remarks></remarks>
        public Player(string _name, string _surname, int _age, int _number, string _position)
            : base()
        {
            Name = _name;
            Surname = _surname;
            Age = _age;
            Number = _number;
            Position = _position; 
        }
        
    }
}
